import json

from config import login_DIR, Select_DIR


def get_json_data_util(file_path):
    with open(file_path, encoding="utf-8") as f:
        data_json = json.load(f)
        newlist=[]
        for i in data_json:
            newlist.append(tuple(i.values()))
        return newlist


print(get_json_data_util(Select_DIR))


